#version 430 core
layout(location=0)in vec3 position;
layout(location=2)in vec2 aCoord;
layout(location=3)in mat4 modelMat;

out vec2 TexCoord;

uniform mat4 viewMat;
uniform mat4 projMat;
void main(){
	gl_Position = projMat * viewMat  *modelMat * vec4(position,1.0f);
	TexCoord = aCoord;
}